﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace E2_WEBSITE.Code.HINH_ANH
{
    public class HinhAnhController
    {
        public List<string> GetListColorByProName(string sProductName)
        {
            HinhAnhDataAccess hda = new HinhAnhDataAccess();
            return hda.GetListColorByProName(sProductName);
        }
        public int GetHinhAnhIDByColorNameAndProductName(string sColorName,string sProductName)
        {
            HinhAnhDataAccess hda = new HinhAnhDataAccess();
            return hda.GetHinhAnhIDByColorNameAndProductName(sColorName,sProductName);
        }
    }
}
